<?xml version="1.0" encoding="Windows-1252"?>
<xs:schema attributeFormDefault="unqualified" 
           elementFormDefault="qualified" 
           targetNamespace="http://schemas.sharepointgurus.net/utility/folderstructure" 
           xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="folders">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref ="folder" maxOccurs="unbounded" minOccurs="0"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

  <xs:element name="folder">
    <xs:complexType>
      <xs:sequence minOccurs="0">
        <xs:element name="permissions"  minOccurs="0" maxOccurs="1">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="security" minOccurs="1" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:attribute name="account" type="xs:string" use="required" />
                  <xs:attribute name="access" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element ref="folder" minOccurs="0" maxOccurs="unbounded">          
        </xs:element>
      </xs:sequence>
      <xs:attribute name="name" type="xs:string" use="required" />
    </xs:complexType>
  </xs:element>
</xs:schema>